package com.course.design.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.course.design.entity.UserFriends;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 描述:
 *
 * @author qinlianji
 * @create 2020-03-07
 */
@Repository
public interface UserFriendMapper extends BaseMapper<UserFriends> {

    /**
     * 查询指定用户的好友id
     * @param userId
     * @return
     */
    List<String> queryFriendIds(@Param("userId") String userId);

}
